package com.jd.share.standard;

import java.util.ArrayList;
import java.util.List;

import com.google.common.collect.ImmutableList;
import com.google.common.primitives.Ints;

public class Common {
	
	public static void main(String[] args) {
		
		int a = 5;
		int b = 10;
		//常用
		int compareTo = Integer.valueOf(a).compareTo(Integer.valueOf(b));
		// google封装
		int compare = Ints.compare(a, b);
		
		//常用
		List<String> list = new ArrayList<String>();
		list.add("a");
		list.add("b");
		list.add("c");
		list.add("d");
		
		//google封装
		ImmutableList<String> of = ImmutableList.of("a", "b", "c", "d");
		
	}
	
}
